<div id="license_form_block">
{% if user.is_authenticated %}
    {% block form_tag %}
    <form method="post" name="license_form" action="{% url 'license_edit' licensable_type=licensable_type licensable_id=licensable_id %}">
    {% endblock %}
    {% csrf_token %}
    <div>
        {{ license_form.as_p }}
    </div>
    <input type="hidden" name="next" value="{{next}}" />
    <input type="submit" value="Edit License" />
    </form>
{% endif %}
</div>

